// LeftView.cpp : implementation file
//

#include "stdafx.h"
#include "DocTest.h"
#include "LeftView.h"


// CLeftView

IMPLEMENT_DYNCREATE(CLeftView, CFormView)

CLeftView::CLeftView()
	: CFormView(CLeftView::IDD)
{

}

CLeftView::~CLeftView()
{
}

void CLeftView::DoDataExchange(CDataExchange* pDX)
{
	CFormView::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CLeftView, CFormView)
	ON_WM_PAINT()
END_MESSAGE_MAP()


// CLeftView diagnostics

#ifdef _DEBUG
void CLeftView::AssertValid() const
{
	CFormView::AssertValid();
}

#ifndef _WIN32_WCE
void CLeftView::Dump(CDumpContext& dc) const
{
	CFormView::Dump(dc);
}

#endif
#endif //_DEBUG


// CLeftView message handlers

void CLeftView::OnPaint()
{
	CPaintDC dc(this);

	CRect rt;
	GetClientRect(&rt);

	dc.MoveTo(0, rt.Height()/2);
	dc.LineTo(rt.Width(), rt.Height()/2);

}
